package com.xcity.tools.http.template;

import naga.x.game.template.Template;
import naga.x.game.template.TemplateException;
import naga.x.game.template.annotation.Binding;
import naga.x.game.template.annotation.Excel;

/**
 * menuOpen
 * @author yang.li
 *
 */
@Excel(value = "menuOpen.xlsx", sheet = 0)
public class MenuOpenTemplate extends Template {

	/** 类型
1：底部横排按钮，2：右边竖排按钮，3：上方活动按钮
4=员工列表页签，
5=员工子页签，
6=推图关卡页签，
7=挑战内页签，
8=挑战内资源副本页签 */
	protected int type;

	/** 按钮文本说明 */
	protected String label;

	/** 游戏内按钮名称 */
	protected String name;

	/** 开启类型
1=等级解锁
2=建筑建成后解锁（这里填2，前面开放等级列填对应的建筑id） */
	protected int openType;

	/** 开放等级 */
	protected int level;

	/** 显示顺序 */
	protected int orderId;

	/** 是否弹出开启面板
0=不弹
1=弹 */
	protected int isAlert;

	/** 开启面板图标 */
	protected String icon;

	/** 开启面板文字 */
	protected String desc;

	/** 未开启时显示状态
1、不显示
2、灰色
3、上大锁链和锁锁住 */
	protected int state;

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public String getLabel() {
		return label;
	}

	public void setLabel(String label) {
		this.label = label;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getOpenType() {
		return openType;
	}

	public void setOpenType(int openType) {
		this.openType = openType;
	}

	public int getLevel() {
		return level;
	}

	public void setLevel(int level) {
		this.level = level;
	}

	public int getOrderId() {
		return orderId;
	}

	public void setOrderId(int orderId) {
		this.orderId = orderId;
	}

	public int getIsAlert() {
		return isAlert;
	}

	public void setIsAlert(int isAlert) {
		this.isAlert = isAlert;
	}

	public String getIcon() {
		return icon;
	}

	public void setIcon(String icon) {
		this.icon = icon;
	}

	public String getDesc() {
		return desc;
	}

	public void setDesc(String desc) {
		this.desc = desc;
	}

	public int getState() {
		return state;
	}

	public void setState(int state) {
		this.state = state;
	}


	@Override
	public void validate() throws TemplateException {}
}
